export const uploadFile = (client, file) => client.uploadContent(file, {
    onlyContentUri: false,
    rawResponse: false,
});

export const downloadFile = (client, serverName, fileID) => client._http.request(
    undefined, "GET", `/download/${serverName}/${fileID}`, undefined, undefined,
    { 
        prefix: "/_matrix/media/r0",
        json: false,
    },
);
